/**
 * Program   :   JSONException.java
 * Author    :   shadow guo
 * Create    :   2013-5-26 下午4:04:41
 *
 * Copyright 2008 by Tongfu Information Technology Co. Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Tongfu Information Technology Co. Ltd. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Tongfu Information Technology Co. Ltd.
 * 
 */
package com.tongfusoft.web.core.exception;

import com.tongfusoft.exception.ServiceException;

/**
 * JSON转换异常
 * @author Shadow
 *
 */
public class JSONException extends ServiceException {

	public JSONException() {
		super();
	}
	
	public JSONException(String message) {
		super(message);
	}

	public JSONException(String message,String code) {
		super(message);
		this.errMsgCode = code;
	}

	public JSONException(Throwable cause) {
		super(cause);
	}
	
	public JSONException(Throwable cause,String code) {
		super(cause);
		this.errMsgCode = code;
	}

	public JSONException(String message, Throwable cause) {
		super(message, cause);
	}
	
	public JSONException(String message, Throwable cause,String code) {
		super(message, cause);
		this.errMsgCode = code;
	}

}
